export default [
    { slotName: 'deviceCode', dataIndex: 'deviceCode', fixed: 'left', slots: { title: 'deviceCode' } },
    { slotName: 'deviceId', dataIndex: 'id', slots: { title: 'deviceId' } },
    { slotName: 'mqAccount', dataIndex: 'username', slots: { title: 'mqAccount' } },
    { slotName: 'authority', dataIndex: 'vhost', slots: { title: 'authority' } },
    { slotName: 'interactor', dataIndex: 'exchange', slots: { title: 'interactor' } },
    { slotName: 'routingPrefix', dataIndex: 'prefixRoutingKey', slots: { title: 'routingPrefix' } },
    { slotName: 'status', dataIndex: 'status', slots: { title: 'status', customRender: 'customRecord' } },

    { slotName: 'mqLabel', dataIndex: 'tags', slots: { title: 'mqLabel' } },
    {
        slotName: 'action',
        key: 'operation',

        width: 120,
        slots: { title: 'action', customRender: 'customAction' },
    },
];
